<template>
  <edit-distance ></edit-distance>
</template>
<script>
import  EditDistance from './components/EditDistance';
  export default {
    name: 'VueEditDistance',
    data() {
      return {
          str1:'',
          str2: '',
        // str1: 'One night, there was a little baby who was still not asleep. His mother already tried rocking the baby to sleep but he was still wide awake. So, his mother took him to the window to see the stars. he stars shone on the sea. The mother told the baby some stories about the stars. She said that there were two little stars that played peek-a-boo with two little fishes in the deep blue sea. And there were two little frogs that cried ‘Neap, neap, neap. We also see a dear little baby who should be asleep!’ The baby was happy and delighted1. Soon, the little baby grew sleepy and fell asleep in his mother’s arms.',
        // str2: 'One night, there was a little baby who was still not asleep. His mother already tried rocking the baby to sleep but he was still wide awake. So, his mother took him to the window to see the stars. he stars shone on the sea. The mother told the baby some stories about the stars. She said that there were two little stars that played peek-a-boo with two little fishes in the deep blue sea. And there were two little frogs that cried ‘Neap, neap, neap. We also see a dear little baby who should be asleep!’ The baby was happy and delighted1. Soon, the little baby grew sleepy and fell asleep in his mother’s arms.hello word, this is a bad day',
      }
    },
    components: {
        EditDistance,
    },
     mounted() {
    },
    methods: {
        autoTextAreaHeight:function(e){
            // let o = e.target;
            // o.style.height = o.scrollTop + o.scrollHeight + "px";
        }

    },
  }
</script>